include(../../GSCommon.pri)
TARGET = csv
TEMPLATE = lib
QT += core5compat
#CONFIG -= shared
#CONFIG += staticlib
DESTDIR = $$IDE_APP_ROOT/bin
!msvc {
    # flags for gcc-like compiler
    #CONFIG += warn_on
    #QMAKE_CXXFLAGS_WARN_ON += -Werror -Wformat=2 -Wuninitialized -Winit-self \
    #        -Wmissing-include-dirs -Wswitch-enum -Wundef -Wpointer-arith \
    #        -Wdisabled-optimization -Wcast-align -Wcast-qual
}

unix {
    QMAKE_LFLAGS += "-Wl,-rpath,\'"$$clean_path($$DESTDIR)"\'"
}

DEFINES += QTCSV_LIBRARY

SOURCES += \
    csvreader.cpp \
    csvstringdata.cpp \
    csvvariantdata.cpp \
    csvwriter.cpp \
    contentiterator.cpp

HEADERS += \
    csvreader.h \
    csvstringdata.h \
    csvvariantdata.h \
    csvwriter.h \
    qtcsv_global.h \
    abstractdata.h \
    filechecker.h \
    contentiterator.h \
    symbols.h


